package kp.rpc.fault.retry.impl;

import kp.rpc.fault.retry.RetryStrategy;
import kp.rpc.model.RpcResponse;
import kp.rpc.registry.Registry;

import java.util.concurrent.Callable;

public class NoRetryStrategy implements RetryStrategy {
    @Override
    public RpcResponse doRetry(Callable<RpcResponse> callable) throws Exception {
        return callable.call();
    }
}
